setHeight

open fun setHeight(height: Int)(source)

Sets the height of the popup window in pixels. Can also be MATCH_PARENT.

Parameters

height

Height of the popup window must be a positive value, MATCH_PARENT, or WRAP_CONTENT.

Throws

if height is set to negative value